.wrapper {
    display: flex;
    min-height: 100vh;
}

/* 侧边栏样式 */
.sidebar {
    width: 250px;
    background: #2c3e50;
    color: #fff;
    position: fixed;
    height: 100vh;
}

.sidebar-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #34495e;
}

.menu {
    list-style: none;
    padding: 0;
}

.menu li {
    padding: 15px 20px;
    border-bottom: 1px solid #34495e;
}

.menu li.active {
    background: #34495e;
}

.menu li a {
    color: #fff;
    text-decoration: none;
    display: block;
}

/* 主要内容区样式 */
.main-content {
    flex: 1;
    margin-left: 250px;
    padding: 20px;
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logout-btn {
    padding: 8px 15px;
    background: #e74c3c;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

/* 统计卡片样式 */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-card {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.stat-card h3 {
    margin-bottom: 10px;
    color: #666;
}

.stat-card p {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
}

/* 添加头像样式 */
.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
}

/* 菜单组标题 */
.menu-group {
    padding: 15px 20px 5px;
    color: #8795a1;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 菜单图标 */
.menu li a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* 调整菜单项内边距 */
.menu li a {
    padding: 12px 20px;
    display: flex;
    align-items: center;
}

/* 菜单hover效果 */
.menu li a:hover {
    background: #34495e;
} 